package com.erp.service.impl;

import com.erp.domain.ErpInboundAudit;
import com.erp.domain.ErpProductVO;
import com.erp.domain.InboundAuditVO;
import com.erp.mapper.ErpInboundAuditMapper;
import com.erp.service.IErpInboundAuditService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author:lxs
 * @CreateTime: 2025-09-06
 * @Description:入库多表联查业务层实现类
 */
@Service
public class ErpInboundAuditServiceImpl implements IErpInboundAuditService {
    @Autowired
    private ErpInboundAuditMapper erpInboundAuditMapper;
    @Override
    public List<InboundAuditVO> list(ErpInboundAudit erpInboundAudit) {
        return erpInboundAuditMapper.list(erpInboundAudit);
    }

    @Override
    public List<ErpProductVO> product(String inboundNo) {
        return erpInboundAuditMapper.product(inboundNo);
    }

    @Override
    public void updateAudit(ErpInboundAudit erpInboundAudit) {
        erpInboundAuditMapper.updateAudit(erpInboundAudit);
    }
}
